import { request } from "@/api/service.js"
/**
   * @description 获取店铺
   * @param {Object} data 
   */
export function getShopInfoBack(data = {}) {
    // 接口请求
    return request({
        url: '/shopInfo/getShopInfoBack',
        method: 'post',
        data: data
    })
}
/**
  * @description 添加店铺
  * @param {Object} data 
  */
export function addShopInfo(data = {}) {
    // 接口请求
    return request({
        url: '/shopInfo/addShopInfo',
        method: 'post',
        data: data
    })
}
/**
 * @description 修改店铺
 * @param {Object} data 
 */
export function updateShopInfo(data = {}) {
    // 接口请求
    return request({
        url: '/shopInfo/updateShopInfo',
        method: 'post',
        data: data
    })
}
/**
* @description 冻结店铺
* @param {Object} data 
*/
export function freezeShopInfo(data = {}) {
    // 接口请求
    return request({
        url: '/shopInfo/freezeShopInfo',
        method: 'post',
        data: data
    })
}
/**
* @description 解冻店铺
* @param {Object} data 
*/
export function thawShopInfo(data = {}) {
    // 接口请求
    return request({
        url: '/shopInfo/thawShopInfo',
        method: 'post',
        data: data
    })
}